From: Jasper St. Pierre Date: Wed, 20 Feb 2013 01:31:56 +0000 (-0500) Subject: layout: Clean up consoleBackgroundGroup X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~4694 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=b4678a1cee55ecc029879762f53ce29504aa3957;p=gnome-shell.git layout: Clean up consoleBackgroundGroup We shouldn't leave a reference to a destroyed actor just hanging around. https://bugzilla.gnome.org/show_bug.cgi?id=694227 --- diff --git a/js/ui/layout.js b/js/ui/layout.js index 994d79c30..4d5dd49c4 100644 --- a/js/ui/layout.js +++ b/js/ui/layout.js @@ -607,6 +607,8 @@ const LayoutManager = new Lang.Class({ global.stage_input_mode = Shell.StageInputMode.NORMAL; this._consoleBackgroundGroup.destroy(); + this._consoleBackgroundGroup = null; + this._startingUp = false; this.trayBox.show();